package com.fastmobile.dao;

import java.text.ParseException;
import java.util.Date;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import com.fastmobile.entity.ContactsList;
import com.fastmobile.entity.Departments;
import com.fastmobile.entity.YourCompany;

public interface ContactsListDao {

	public List<ContactsList> getAllContactsList();
	public List<JSONObject> getJsonContactsList() throws JSONException;
	ContactsList getContactsListByUserNameAndPassWord(String userName, String passWord);
	JSONObject getJsonContactByUserNameAndPassWord(String userName, String passWord) throws JSONException;
	Departments getDepartmentsByDeptId(String deptId);
	YourCompany getYourCompanyByCmdId(String cmdId);
	List<JSONObject> getJsonContactsListByDeptId(String deptId) throws JSONException;
	List<ContactsList> getContacsListByDeptId(String deptId);
	List<Object[]> getDetail(String deptId);

}
